home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / dabutil2.zip / Z.BAT < prev   
DOS Batch File  |  1991-01-12  |  534b  |  33 lines

  1. @echo off
  2. echo off
  3. dow
  4. if errorlevel 6 goto saturday
  5. if errorlevel 5 goto friday
  6. if errorlevel 4 goto thursday
  7. if errorlevel 3 goto wednesday
  8. if errorlevel 2 goto tuesday
  9. if errorlevel 1 goto monday
  10. if errorlevel 0 goto sunday
  11. exit 1
  12. :sunday
  13. echo Today is Sunday
  14. exit 0
  15. :monday
  16. echo Today is Monday
  17. exit 0
  18. :tuesday
  19. echo Today is Tuesday
  20. exit 0
  21. :wednesday
  22. echo Today is Wednesday
  23. exit 0
  24. :thursday
  25. echo Today is Thursday
  26. exit 0
  27. :friday
  28. echo Today is Friday
  29. exit 0
  30. :saturday
  31. echo Today is Saturday
  32. exit 0
  33.